<template>
	<view>
		<web-view :src="url"></web-view>
	</view>
</template>

<script setup>
	import { ref } from 'vue';
	import { onLoad } from '@dcloudio/uni-app'
	import { $tool } from '@/utils/index';
	const url = ref()
	onLoad((e) => {
		if (!e.url) {
			$tool.toast('参数错误')
			return;
		}
		url.value = e.url
	})
</script>

<style>

</style>